package com.pubsys.main.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.pubsys.main.client.aplicacao.AppHistoryController;
import com.pubsys.main.client.componentes.barramenu.MenuUI;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Index implements EntryPoint {
	/*
	private RootPanel rootPanel;
	private TabPanel tabPanel;*/

	public void onModuleLoad() {
		
		
		
		RootPanel.get("_gwt_menuPanel").add(new MenuUI());
		
		AppHistoryController.getInstance().start();
		
		/*
		rootPanel = RootPanel.get();
		tabPanel = new TabPanel();
				
		tabPanel.add(new ConsultaForm(),"Consulta");
		tabPanel.add(new InclusaoForm(),"Inclusão"); //new HTML("Inclusão")
		tabPanel.add(new HTML("Relatórios"),"Relatórios");
		tabPanel.add(new HTML("Entrar"),"Entrar");
		
		tabPanel.selectTab(0);
		
		rootPanel.add(tabPanel);*/
		
	}
	
}
